projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ad4d6
)
textview: Defer cursor blinking on input
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 24 Jul 2019 01:18:03 +0000
(21:18 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 24 Jul 2019 01:18:03 +0000
(21:18 -0400)
We were not calling the right cursor functions
in the commit handler.
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index 66b8fb1274739f890012802a14c7d81fbfaa8365..382f6f72fb7dd86f2b437d87432b8adf4b969150 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-8255,6
+8255,8
@@
gtk_text_view_commit_handler (GtkIMContext *context,
GtkTextView *text_view)
{
gtk_text_view_commit_text (text_view, str);
+ gtk_text_view_reset_blink_time (text_view);
+ gtk_text_view_pend_cursor_blink (text_view);
}
static void